const express = require('express');

const app = express();
const fs = require('fs');
app.get('/index',(request, response)=>{
    let file = fs.readFileSync(__dirname + '/1.html');
    response.send(file);
})
app.get('/ajax',(request, response)=>{
    response.send('hello ajax');
})
app.listen(80,()=>{
    console.log('server run at 80!');
})